'''
Created on 15/10/2013

@author: Edu_Luis
'''
from osv import osv, fields
class carrera(osv.osv):
    _name = 'curso.carrera'
    _columns = {
          'name':fields.char('carrera', size=64),
          'Area':fields.char('area', size=100),
          'ubicacion':fields.char('ubicacion', size=100),
          'creditos':fields.char('creditos', size=100),
          
    }
    
    '''def on_change_num(self,cr, uid, ids, num_bloque):
        if num_bloque >= 50:
            raise osv.except_osv(('invalido'),('mensaje'))
        return True '''
    
carrera()